package org.jsbd.boss.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.dao.IMiguRegisterStatisticsDAO;
import org.jsbd.boss.domian.statistics.MiguRegisterVO;
import org.jsbd.boss.service.IMiguRegisterStatisticsService;
import org.springframework.stereotype.Service;

@Service("miguRegisterStatisticsService")
public class MiguRegisterStatisticsServiceImpl implements IMiguRegisterStatisticsService {

	@Resource
	private IMiguRegisterStatisticsDAO miguRegisterStatisticsDAO;
	
	@Override
	public Map<String, Object> findDataWithPage(DataGridModel page, MiguRegisterVO miguRegisterVO) {
		return miguRegisterStatisticsDAO.findDataWithPage(page, miguRegisterVO);
	}

	@Override
	public Integer getMiguNumByRd(String rd) {
		return miguRegisterStatisticsDAO.selectMiguNumByRd(rd);
	}

	@Override
	public Integer getMiguNumsByRd(String rd) {
		return miguRegisterStatisticsDAO.selectMiguNumsByRd(rd);
	}

}
